package com.uprr.netcontrol.starmap.dto;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class RepositoryDTO extends BaseEntity implements Serializable {

  private static final long serialVersionUID = 3619655553732375368L;

  protected List<MonitorDTO> monitor;

  protected String type;

  protected String repositoryName;

  public final String getType() {
    return type;
  }

  public final void setType(final String type) {
    this.type = type;
  }

  public final String getRepositoryName() {
    return repositoryName;
  }

  public final void setRepositoryName(final String repositoryName) {
    this.repositoryName = repositoryName;
  }

  public final List<MonitorDTO> getMonitor() {
    if (monitor == null) {
      monitor = new ArrayList<MonitorDTO>();
    }
    return monitor;
  }

  public final void setMonitor(final List<MonitorDTO> monitor) {
    this.monitor = monitor;
  }

}
